package com.zyong.design.pattern.command.case1;

/**
 * @program: zyong-design-pattern
 * @ClassName: Command
 * @author: zyong
 * @create: 2024-03-25 23:54
 */
public interface Command {
    /**
     * 执行命令
     */
    void execute();

    /**
     * 取消命令
     */
    void undo();
}
